{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "231251d2",
   "metadata": {},
   "source": [
    "------\n",
    "* 时间：2022-08-29/week02\n",
    "* 课程：Python语言\n",
    "* 主体：python入门\n",
    "------\n",
    "# 本周学习内容\n",
    "> 0.复习Markdown语法  \n",
    "> 1.终端是可以运行Python代码的  \n",
    "> 2.介绍和学习IDE—jupyter notebook\n",
    "> 3.体验了Python标准库（sys,os,datetime）  \n",
    "> 4.安装Python（在自己电脑）"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a59e51cf",
   "metadata": {},
   "source": [
    "## 1. 第一行Python代码"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "58abef0a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello world\n"
     ]
    }
   ],
   "source": [
    "print(\"hello world\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9eb20154",
   "metadata": {},
   "source": [
    "## 2.模块"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "edd86f08",
   "metadata": {},
   "source": [
    "### 2.1 标准库\n",
    "> 1. 观察标准库（课本P10）  \n",
    "> 2. [python标准库](https://docs.python.org/zh-cn/3/library/index.html)\n",
    ">> 我们可以直接用**import 模块名称**使用的模块叫做标准库"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "718c34be",
   "metadata": {},
   "outputs": [],
   "source": [
    "import datetime"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "9792b410",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.date(2022, 9, 26)"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "datetime.date.today()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "15d3ef8c",
   "metadata": {},
   "outputs": [
    {
     "ename": "ModuleNotFoundError",
     "evalue": "No module named 'apple'",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mModuleNotFoundError\u001b[0m                       Traceback (most recent call last)",
      "Input \u001b[1;32mIn [4]\u001b[0m, in \u001b[0;36m<cell line: 1>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mapple\u001b[39;00m\n",
      "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'apple'"
     ]
    }
   ],
   "source": [
    "import apple"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cbf67817",
   "metadata": {},
   "outputs": [],
   "source": [
    "import time"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
